package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import java.util.Date;

/**
 * 项目属性管理对象 sys_project_property
 * 
 * @author peter
 * @date 2019-12-30
 */
public class ProjectProperty extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 所属项目 */
    @Excel(name = "所属项目")
    private Long projectId;

    /** 键 */
    @Excel(name = "键")
    private String key;

    /** 开发环境值 */
    @Excel(name = "开发环境值")
    private String devValue;

    /** 测试环境值 */
    @Excel(name = "测试环境值")
    private String testValue;

    /** 预发布环境值 */
    @Excel(name = "预发布环境值")
    private String vtValue;

    /** 创建时间 */
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDate;

    /** 更新时间 */
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updateDate;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setProjectId(Long projectId) 
    {
        this.projectId = projectId;
    }

    public Long getProjectId() 
    {
        return projectId;
    }
    public void setKey(String key) 
    {
        this.key = key;
    }

    public String getKey() 
    {
        return key;
    }
    public void setDevValue(String devValue) 
    {
        this.devValue = devValue;
    }

    public String getDevValue() 
    {
        return devValue;
    }
    public void setTestValue(String testValue) 
    {
        this.testValue = testValue;
    }

    public String getTestValue() 
    {
        return testValue;
    }
    public void setVtValue(String vtValue) 
    {
        this.vtValue = vtValue;
    }

    public String getVtValue() 
    {
        return vtValue;
    }
    public void setCreateDate(Date createDate) 
    {
        this.createDate = createDate;
    }

    public Date getCreateDate() 
    {
        return createDate;
    }
    public void setUpdateDate(Date updateDate) 
    {
        this.updateDate = updateDate;
    }

    public Date getUpdateDate() 
    {
        return updateDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("projectId", getProjectId())
            .append("key", getKey())
            .append("devValue", getDevValue())
            .append("testValue", getTestValue())
            .append("vtValue", getVtValue())
            .append("createDate", getCreateDate())
            .append("updateDate", getUpdateDate())
            .toString();
    }
}
